<% # Pass in an artist or artwork %>
<strong>Current Media:</strong>
<% if index.medias.length > 0 %>
  <table id='media_table'>
  <%= render :partial => "admin/medias/edit_media", :object => index %>
  </table>
<% else %>
  <p id="noMedia">No media added yet.</p>
<% end %>